package com.shakev.coupon.web.controller;

import com.shakev.coupon.es.model.Category;
import com.shakev.coupon.es.model.Goods;
import com.shakev.coupon.web.model.base.RestResponse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName CategoryGoodsController
 * @Description TODO
 * @Author 李伟松
 * @CreateDate 2019-05-09 下午 9:40
 * @UpdateDate 2019-05-09 下午 9:40
 * @Version 1.0
 */
@RestController
public class CategoryGoodsController {

    /**
     * categoryId;
     * pCategoryId;
     * goodsSort; 综合 销量 最新 价格高 价格低
     */
    @RequestMapping("categoryGoodsList")
    public RestResponse categoryGoodsList(Category category){
        List<Goods> list = new ArrayList<>();
        return RestResponse.success(list);
    }
}
